package cn.gene.timeyan.ums.webapi.ums.controller;

import cn.gene.timeyan.common.restful.JsonResult;
import cn.gene.timeyan.pojo.coo.dto.ApplyDTO;
import cn.gene.timeyan.ums.service.IFeedbackService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 反馈    前端控制器*
 *
 * @author LWG
 * @date 2022/7/23 11:02
 * @since 1.0.0@gene.cn
 */
@Slf4j
@RestController
@RequestMapping("/ums/Feedback")
@Api(tags="反馈模块")
public class FeedbackController {

//    @Autowired(required = false)
//    private IFeedbackService feedbackService;
//
//    @ApiOperation("用户反馈")
//    @PostMapping("/addFeedbackUsers")
//    public JsonResult<Void> addNew(@Validated FeedbackDTO feedbackDTO){
//        log.info("feedbackDTO====:{}",feedbackDTO);
//        feedbackService.addFeedbackUsers(feedbackDTO);
//        return JsonResult.ok();
//    }
}
